home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / utilities / u304.dms / in.adf / bits / File_Manipulation.AMOS < prev    next >
AMOS Basic Source Code Archive  |  1992-03-22  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: AMOS Basic Source Code Archive (archive/amosSrc).

You can browse this item here: File_Manipulation.AMOS

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert AMOS Basic Source Code Archive (archive/amosSrc) magic Supported
100% file AMOS Basic source code, untested default
99% file data default
50% TrID AMOS source (v1.3) default
49% TrID AMOS source (generic) default
100% gt2 Kopftext: 'AMOS Basic v1.3 ' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 4d 4f 53 20 42 61 73 | 69 63 20 76 31 2e 33 20 |AMOS Bas|ic v1.3 |
|00000010| 00 00 07 5a 21 01 06 52 | 00 3a 20 46 69 6c 65 20 |...Z!..R|.: File |
|00000020| 6d 61 6e 69 70 75 6c 61 | 74 69 6f 6e 20 62 79 20 |manipula|tion by |
|00000030| 4a 61 6d 65 73 20 4c 61 | 6e 6e 67 20 66 6f 72 20 |James La|nng for |
|00000040| 74 68 65 20 41 4d 4f 53 | 20 50 44 20 6c 69 62 72 |the AMOS| PD libr|
|00000050| 61 72 79 20 00 00 02 01 | 00 00 28 01 06 52 00 48 |ary ....|..(..R.H|
|00000060| 20 46 43 4f 50 59 20 70 | 72 6f 63 65 64 75 72 65 | FCOPY p|rocedure|
|00000070| 20 69 73 20 66 6f 72 20 | 63 6f 70 79 69 6e 67 20 | is for |copying |
|00000080| 66 69 6c 65 73 2c 20 66 | 72 6f 6d 20 74 68 65 20 |files, f|rom the |
|00000090| 66 69 6c 65 6e 61 6d 65 | 20 53 4f 55 52 43 45 24 |filename| SOURCE$|
|000000a0| 20 74 6f 20 74 68 65 20 | 00 00 28 01 06 52 00 48 | to the |..(..R.H|
|000000b0| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 66 69 6c | destina|tion fil|
|000000c0| 65 20 44 45 53 54 49 4e | 41 54 49 4f 4e 24 2c 20 |e DESTIN|ATION$, |
|000000d0| 77 69 74 68 20 74 68 65 | 20 62 75 66 66 65 72 20 |with the| buffer |
|000000e0| 69 6e 20 42 55 46 46 45 | 52 20 69 6e 20 4b 69 6c |in BUFFE|R in Kil|
|000000f0| 6f 62 79 74 65 73 2e 20 | 00 00 28 01 06 52 00 48 |obytes. |..(..R.H|
|00000100| 20 69 2e 65 2e 20 22 46 | 43 4f 50 59 5b 22 53 3a | i.e. "F|COPY["S:|
|00000110| 53 74 61 72 74 75 70 2d | 53 65 71 75 65 6e 63 65 |Startup-|Sequence|
|00000120| 22 2c 22 52 41 4d 3a 53 | 74 61 72 74 75 70 2d 53 |","RAM:S|tartup-S|
|00000130| 65 71 75 65 6e 63 65 22 | 2c 38 5d 22 20 77 6f 75 |equence"|,8]" wou|
|00000140| 6c 64 20 63 6f 70 79 20 | 00 00 1e 01 06 52 00 34 |ld copy |.....R.4|
|00000150| 20 74 68 65 20 73 74 61 | 72 74 75 70 20 73 65 71 | the sta|rtup seq|
|00000160| 75 65 6e 63 65 20 69 6e | 74 6f 20 52 41 4d 3a 20 |uence in|to RAM: |
|00000170| 77 69 74 68 20 61 20 62 | 75 66 66 65 72 20 6f 66 |with a b|uffer of|
|00000180| 20 38 4b 2e 00 00 04 01 | 06 52 00 00 00 00 2a 01 | 8K.....|.R....*.|
|00000190| 06 52 00 4c 20 46 4d 45 | 52 47 45 20 69 73 20 66 |.R.L FME|RGE is f|
|000001a0| 6f 72 20 6d 65 72 67 69 | 6e 67 20 74 77 6f 20 66 |or mergi|ng two f|
|000001b0| 69 6c 65 73 2c 20 74 68 | 65 20 66 69 72 73 74 20 |iles, th|e first |
|000001c0| 66 69 6c 65 20 69 73 20 | 46 49 52 53 54 24 2c 20 |file is |FIRST$, |
|000001d0| 73 65 63 6f 6e 64 20 53 | 45 43 4f 4e 44 24 2c 20 |second S|ECOND$, |
|000001e0| 00 00 1b 01 06 52 00 2e | 20 61 6e 64 20 74 68 65 |.....R..| and the|
|000001f0| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 69 73 20 | destina|tion is |
|00000200| 63 61 6c 6c 65 64 20 44 | 45 53 54 49 4e 41 54 49 |called D|ESTINATI|
|00000210| 4f 4e 24 2e 20 20 00 00 | 29 01 06 52 00 4a 20 69 |ON$. ..|)..R.J i|
|00000220| 2e 65 2e 20 22 46 4d 45 | 52 47 45 5b 22 53 3a 53 |.e. "FME|RGE["S:S|
|00000230| 74 61 72 74 75 70 2d 53 | 65 71 75 65 6e 63 65 22 |tartup-S|equence"|
|00000240| 2c 22 53 3a 53 68 65 6c | 6c 2d 73 74 61 72 74 75 |,"S:Shel|l-startu|
|00000250| 70 22 2c 22 52 41 4d 3a | 53 74 61 72 74 75 70 66 |p","RAM:|Startupf|
|00000260| 69 6c 65 73 22 2c 38 5d | 00 00 2a 01 06 52 00 4c |iles",8]|..*..R.L|
|00000270| 20 77 6f 75 6c 64 20 6d | 65 72 67 65 20 74 68 65 | would m|erge the|
|00000280| 20 73 74 61 72 74 75 70 | 20 73 65 71 75 65 6e 63 | startup| sequenc|
|00000290| 65 20 61 6e 64 20 73 68 | 65 6c 6c 20 73 74 61 72 |e and sh|ell star|
|000002a0| 74 75 70 20 69 6e 74 6f | 20 74 68 65 20 72 61 6d |tup into| the ram|
|000002b0| 20 64 69 73 6b 2c 20 77 | 69 74 68 20 00 00 0c 01 | disk, w|ith ....|
|000002c0| 06 52 00 10 20 61 20 62 | 75 66 66 65 72 20 6f 66 |.R.. a b|uffer of|
|000002d0| 20 38 4b 2e 00 00 02 01 | 00 00 27 01 06 52 00 46 | 8K.....|..'..R.F|
|000002e0| 20 50 6c 65 61 73 65 20 | 66 65 65 6c 20 66 72 65 | Please |feel fre|
|000002f0| 65 20 74 6f 20 75 73 65 | 20 74 68 65 73 65 20 70 |e to use| these p|
|00000300| 72 6f 63 65 64 75 72 65 | 73 20 77 69 74 68 69 6e |rocedure|s within|
|00000310| 20 79 6f 75 72 20 6f 77 | 6e 20 70 72 6f 67 72 61 | your ow|n progra|
|00000320| 6d 73 2c 20 6e 6f 00 00 | 1b 01 06 52 00 2e 20 72 |ms, no..|...R.. r|
|00000330| 6f 79 61 6c 74 69 65 73 | 20 61 72 65 20 6e 65 65 |oyalties| are nee|
|00000340| 64 65 64 20 66 6f 72 20 | 63 6f 6d 6d 65 72 63 69 |ded for |commerci|
|00000350| 61 6c 20 70 72 6f 67 72 | 61 6d 73 21 00 00 02 01 |al progr|ams!....|
|00000360| 00 00 26 01 03 76 00 00 | 01 6a 00 2a 80 00 00 06 |..&..v..|.j.*....|
|00000370| 00 00 06 80 66 63 6f 70 | 79 00 00 84 00 06 00 00 |....fcop|y.......|
|00000380| 06 02 73 6f 75 72 63 65 | 00 5c 00 06 00 06 0c 02 |..source|.\......|
|00000390| 64 65 73 74 69 6e 61 74 | 69 6f 6e 00 00 5c 00 06 |destinat|ion..\..|
|000003a0| 00 0c 06 00 62 75 66 66 | 65 72 00 8c 00 00 0d 04 |....buff|er......|
|000003b0| 18 bc 00 3e 00 00 00 01 | 00 5c 00 06 00 00 06 02 |...>....|.\......|
|000003c0| 73 6f 75 72 63 65 00 00 | 10 04 18 cc 00 3e 00 00 |source..|.....>..|
|000003d0| 00 02 00 5c 00 06 00 06 | 0c 02 64 65 73 74 69 6e |...\....|..destin|
|000003e0| 61 74 69 6f 6e 00 00 00 | 0d 04 00 06 00 12 02 00 |ation...|........|
|000003f0| 6c 66 ff a2 18 7c 00 74 | 00 3e 00 00 00 01 00 7c |lf...|.t|.>.....||
|00000400| 00 00 04 04 02 7e 00 b2 | 00 00 0e 07 02 90 00 ac |.....~..|........|
|00000410| 00 0a 00 06 00 18 02 00 | 70 00 ff 8e 00 06 00 12 |........|p.......|
|00000420| 02 00 6c 66 00 00 1e 07 | 00 06 00 1e 02 00 6c 00 |..lf....|......l.|
|00000430| ff a2 06 ea 00 74 00 06 | 00 0c 06 00 62 75 66 66 |.....t..|....buff|
|00000440| 65 72 ff e2 00 3e 00 00 | 04 00 00 5c 00 06 00 12 |er...>..|...\....|
|00000450| 02 00 6c 66 ff ca 00 06 | 00 18 02 00 70 00 00 7c |..lf....|....p..||
|00000460| 00 00 12 07 00 06 00 24 | 02 02 61 00 ff a2 04 9c |.......$|..a.....|
|00000470| 00 74 00 3e 00 00 00 01 | 00 5c 00 06 00 1e 02 00 |.t.>....|.\......|
|00000480| 6c 00 00 7c 00 00 0c 07 | 04 6a 00 3e 00 00 00 02 |l..|....|.j.>....|
|00000490| 00 5c 00 06 00 24 02 02 | 61 00 00 64 00 00 0c 07 |.\...$..|a..d....|
|000004a0| 04 58 00 06 00 18 02 00 | 70 00 00 5c 00 06 00 1e |.X......|p..\....|
|000004b0| 02 00 6c 00 00 00 03 04 | 02 86 00 00 06 04 19 0c |..l.....|........|
|000004c0| 00 3e 00 00 00 01 00 00 | 06 04 19 0c 00 3e 00 00 |.>......|.....>..|
|000004d0| 00 02 00 00 03 01 03 90 | 00 00 2d 01 03 76 00 00 |........|..-..v..|
|000004e0| 02 86 00 30 80 00 00 06 | 00 00 06 80 66 6d 65 72 |...0....|....fmer|
|000004f0| 67 65 00 84 00 06 00 00 | 06 02 66 69 72 73 74 00 |ge......|..first.|
|00000500| 00 5c 00 06 00 06 06 02 | 73 65 63 6f 6e 64 00 5c |.\......|second.\|
|00000510| 00 06 00 0c 0c 02 64 65 | 73 74 69 6e 61 74 69 6f |......de|stinatio|
|00000520| 6e 00 00 5c 00 06 00 12 | 06 00 62 75 66 66 65 72 |n..\....|..buffer|
|00000530| 00 8c 00 00 0d 04 18 bc | 00 3e 00 00 00 01 00 5c |........|.>.....\|
|00000540| 00 06 00 00 06 02 66 69 | 72 73 74 00 00 00 10 04 |......fi|rst.....|
|00000550| 18 cc 00 3e 00 00 00 02 | 00 5c 00 06 00 0c 0c 02 |...>....|.\......|
|00000560| 64 65 73 74 69 6e 61 74 | 69 6f 6e 00 00 00 0d 04 |destinat|ion.....|
|00000570| 00 06 00 18 02 00 6c 66 | ff a2 18 7c 00 74 00 3e |......lf|...|.t.>|
|00000580| 00 00 00 01 00 7c 00 00 | 04 04 02 7e 00 b2 00 00 |.....|..|...~....|
|00000590| 0e 07 02 90 00 ac 00 0a | 00 06 00 1e 02 00 70 00 |........|......p.|
|000005a0| ff 8e 00 06 00 18 02 00 | 6c 66 00 00 1e 07 00 06 |........|lf......|
|000005b0| 00 24 02 00 6c 00 ff a2 | 06 ea 00 74 00 06 00 12 |.$..l...|...t....|
|000005c0| 06 00 62 75 66 66 65 72 | ff e2 00 3e 00 00 04 00 |..buffer|...>....|
|000005d0| 00 5c 00 06 00 18 02 00 | 6c 66 ff ca 00 06 00 1e |.\......|lf......|
|000005e0| 02 00 70 00 00 7c 00 00 | 12 07 00 06 00 2a 02 02 |..p..|..|.....*..|
|000005f0| 61 00 ff a2 04 9c 00 74 | 00 3e 00 00 00 01 00 5c |a......t|.>.....\|
|00000600| 00 06 00 24 02 00 6c 00 | 00 7c 00 00 0c 07 04 6a |...$..l.|.|.....j|
|00000610| 00 3e 00 00 00 02 00 5c | 00 06 00 2a 02 02 61 00 |.>.....\|...*..a.|
|00000620| 00 64 00 00 0c 07 04 58 | 00 06 00 1e 02 00 70 00 |.d.....X|......p.|
|00000630| 00 5c 00 06 00 24 02 00 | 6c 00 00 00 03 04 02 86 |.\...$..|l.......|
|00000640| 00 00 06 04 19 0c 00 3e | 00 00 00 01 00 00 0d 04 |.......>|........|
|00000650| 18 bc 00 3e 00 00 00 01 | 00 5c 00 06 00 06 06 02 |...>....|.\......|
|00000660| 73 65 63 6f 6e 64 00 00 | 0d 04 00 06 00 18 02 00 |second..|........|
|00000670| 6c 66 ff a2 18 7c 00 74 | 00 3e 00 00 00 01 00 7c |lf...|.t|.>.....||
|00000680| 00 00 0a 04 00 06 00 1e | 02 00 70 00 ff a2 00 3e |........|..p....>|
|00000690| 00 00 00 00 00 00 04 04 | 02 7e 00 b2 00 00 0e 07 |........|.~......|
|000006a0| 02 90 00 ac 00 0a 00 06 | 00 1e 02 00 70 00 ff 8e |........|....p...|
|000006b0| 00 06 00 18 02 00 6c 66 | 00 00 1e 07 00 06 00 24 |......lf|.......$|
|000006c0| 02 00 6c 00 ff a2 06 ea | 00 74 00 06 00 12 06 00 |..l.....|.t......|
|000006d0| 62 75 66 66 65 72 ff e2 | 00 3e 00 00 04 00 00 5c |buffer..|.>.....\|
|000006e0| 00 06 00 18 02 00 6c 66 | ff ca 00 06 00 1e 02 00 |......lf|........|
|000006f0| 70 00 00 7c 00 00 12 07 | 00 06 00 2a 02 02 61 00 |p..|....|...*..a.|
|00000700| ff a2 04 9c 00 74 00 3e | 00 00 00 01 00 5c 00 06 |.....t.>|.....\..|
|00000710| 00 24 02 00 6c 00 00 7c | 00 00 0c 07 04 6a 00 3e |.$..l..||.....j.>|
|00000720| 00 00 00 02 00 5c 00 06 | 00 2a 02 02 61 00 00 64 |.....\..|.*..a..d|
|00000730| 00 00 0c 07 04 58 00 06 | 00 1e 02 00 70 00 00 5c |.....X..|....p..\|
|00000740| 00 06 00 24 02 00 6c 00 | 00 00 03 04 02 86 00 00 |...$..l.|........|
|00000750| 06 04 19 0c 00 3e 00 00 | 00 01 00 00 06 04 19 0c |.....>..|........|
|00000760| 00 3e 00 00 00 02 00 00 | 03 01 03 90 00 00 41 6d |.>......|......Am|
|00000770| 42 73 00 00 | |Bs.. | |
+--------+-------------------------+-------------------------+--------+--------+